import { createApp } from 'vue'
import App from './App.vue'
import {createPinia} from 'pinia'
import persist from 'pinia-plugin-persistedstate'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import {router} from "./router";

const pinia = createPinia();
pinia.use(persist)
createApp(App)
    .use(ElementPlus)
    .use(pinia)
    .use(router)
    .mount('#app')